package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 养护管理对象 recordlist
 * 
 * @author xjj
 * @date 2022-05-17
 */
public class Recordlist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 养护记录id */
    private Long recordId;

    /** 养护问题记录 */
    @Excel(name = "养护问题记录")
    private String problem;

    /** 路段id */
    @Excel(name = "路段id")
    private Long roadpartId;

    /** 养护时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "养护时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordDate;

    /** 养护员工id */
    @Excel(name = "养护员工id")
    private Long staffId;

    /** 维修类型 */
    @Excel(name = "维修类型")
    private Long sysFixType;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 抽检 */
    @Excel(name = "抽检")
    private Long checkr;

    /** 台账管理信息 */
    private List<Standingbook> standingbookList;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setProblem(String problem) 
    {
        this.problem = problem;
    }

    public String getProblem() 
    {
        return problem;
    }
    public void setRoadpartId(Long roadpartId) 
    {
        this.roadpartId = roadpartId;
    }

    public Long getRoadpartId() 
    {
        return roadpartId;
    }
    public void setRecordDate(Date recordDate) 
    {
        this.recordDate = recordDate;
    }

    public Date getRecordDate() 
    {
        return recordDate;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setSysFixType(Long sysFixType) 
    {
        this.sysFixType = sysFixType;
    }

    public Long getSysFixType() 
    {
        return sysFixType;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setCheckr(Long checkr) 
    {
        this.checkr = checkr;
    }

    public Long getCheckr() 
    {
        return checkr;
    }

    public List<Standingbook> getStandingbookList()
    {
        return standingbookList;
    }

    public void setStandingbookList(List<Standingbook> standingbookList)
    {
        this.standingbookList = standingbookList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("problem", getProblem())
            .append("roadpartId", getRoadpartId())
            .append("recordDate", getRecordDate())
            .append("staffId", getStaffId())
            .append("sysFixType", getSysFixType())
            .append("picture", getPicture())
            .append("checkr", getCheckr())
            .append("standingbookList", getStandingbookList())
            .toString();
    }
}
